<template>
    <div>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>4</li>
        <div>
            <button @click="login">LoginAsync</button>

        </div>
    </div> 
</template>

<script>
// import aMix from './mixins/aMix'
// import bMix from './bMix'
import accountApi from '@/dataApi/account';
    export default {
        // mixins:[aMix,bMix],
        data() {
            return {
                
            }
        },
        mounted(){
            this.init();
        },
        methods: {
            init(){
                
            },
            async login(){
                  let model = {
                      username:"",
                      password:""
                  }
                 const loginResult =  await accountApi.loginAsync(model)
                 console.log(JSON.stringify(loginResult));
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>